<!doctype html>
<html lang="en" ng-app="app">
<head>
  <meta charset="utf-8">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="mobile-web-app-capable" content="yes">
  <title>绑定微信</title>
  
  <link rel="stylesheet" href="/static/weixin/css/app.css">
  
  <script src="/static/weixin/js/config.js"></script>
  
  <script src="/static/weixin/js/zarpemain.js"></script>


</head>
<body>
  <ons-page ng-controller="BindMeController">
    <div class="list-header">老客户通过验证手机绑定微信</div>
    <ons-list style="margin-top:10px" modifier="inset">
      <ons-list-item>
        <ons-row>
          <ons-col width="50px">+86</ons-col>
          <ons-col>
            <input type="text" ng-model="phone" class="text-input text-input--transparent" placeholder="请输入您的手机号" style="width: 100%" />
          </ons-col>
        </ons-row>  
      </ons-list-item>
      <ons-list-item>
        <ons-row>
          <ons-col>
            <input type="text" ng-model="verificationCode" class="text-input text-input--transparent" placeholder="请输入验证码" style="width: 100%" /> 
          </ons-col>
          <ons-col width="100px">
            <ons-button ng-click="getValidateNumbers()" ng-attr-disabled="{{!canSendCode}}"style="width:90px; height:30px; padding: 5px 10px; font-size:12px; line-height:20px; text-align:center">{{buttonLabel}}</ons-button>
          </ons-col>
        </ons-row>
      </ons-list-item>
    </ons-list>
    <div style="padding: 10px 9px 0 9px; margin-top: 30px">
      <ons-button modifier="large" style="margin: 0 auto;" ng-click="bindMe()">
        验证并开始使用
      </ons-button>
    </div>
    <div style="padding: 10px 9px;">
      <ons-button modifier="large--cta" style="margin: 0 auto;" ng-click="createNew()">
        不是老客户？
      </ons-button>
    </div>
    <ons-modal var="main.modal">
      <ons-icon icon="gear" spin="true" style="line-height: 20px; vertical-align: middle;" ></ons-icon>
      <span style="line-height: 20px; font-size: 15px;">获取数据中。。。</span>
    </ons-modal>
  </ons-page>

  <script src="/static/weixin/js/bindme.js"></script>
  
  

  <script>
    ons.ready(function() {
    });
  </script>
</body>
</html>
